package com.koron.sinoprobe.web.plan.bean.query;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.koron.bean.query.PageQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;
import java.util.List;

/**
 * @author twcao
 * @title: SpPlanQuery
 * @projectName GDH_EAM_V2
 * @description: 检修计划查询条件
 * @date 2021/11/2417:55
 */
@Data
@Accessors(chain = true)
@ApiModel(description = "检修计划查询条件")
public class SpPlanQuery extends PageQuery {

    @ApiModelProperty("主键")
    private String id;

    @ApiModelProperty("名称/标题")
    private String name;

    @ApiModelProperty("计划包id")
    private String pkgId;

    @ApiModelProperty("主办部门")
    private String hostDeptId;

    @ApiModelProperty("计划包编码，模糊查询")
    private String code;

    @ApiModelProperty("业务类别, 多选")
    private List<String> bizCategory;

    @ApiModelProperty("项目类别，多选")
    private List<String> projectType;

    @ApiModelProperty("创建部门")
    private String deptId;

    @ApiModelProperty("状态：草稿、待审核、已审批, 多选")
    private List<String> status;

    @ApiModelProperty("当前节点名称，模糊查询")
    private String currNodeName;

    @ApiModelProperty("当前节点处理人账号")
    private String currNodeUser;

    @ApiModelProperty("创建人账号")
    private String createBy;

    @ApiModelProperty("创建时间，格式yyyy-mm-dd hh:mm")
    private List<Date> createTime;

    @JsonIgnore
    @ApiModelProperty(value = "删除标志, 默认查询变不删除的数据", hidden = true)
    private Boolean deleteFlag = false;
}
